let app = getApp()
Component({
    properties: {
          starNum:Number
      },
      data:{
         
      },
    lifetimes: {
        attached: function () {
           
       }
      },
    methods: {
      starset:function(e){
        this.setData({
          starNum:e.currentTarget.dataset.star
        })
        this.triggerEvent('updateStarNum',e.currentTarget.dataset.star)
      }
    }
});
